<?php



class ListTaxCodesMapBuilder implements MapBuilder {

	
	const CLASS_NAME = 'lib.model.map.ListTaxCodesMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap(ListTaxCodesPeer::DATABASE_NAME);

		$tMap = $this->dbMap->addTable(ListTaxCodesPeer::TABLE_NAME);
		$tMap->setPhpName('ListTaxCodes');
		$tMap->setClassname('ListTaxCodes');

		$tMap->setUseIdGenerator(false);

		$tMap->addPrimaryKey('IDEN', 'Iden', 'VARCHAR', true, 20);

		$tMap->addColumn('TAX_CODE', 'TaxCode', 'VARCHAR', true, 20);

		$tMap->addColumn('DESCRIPTION', 'Description', 'VARCHAR', true, 100);

		$tMap->addColumn('TAX_RATE', 'TaxRate', 'DOUBLE', true, null);

	} 
} 